/**
 * @param {number[]} nums
 * @return {boolean}
 */
var primeSubOperation = function (nums) {
  if (nums.length == 1) return true
  for (let i = nums.length - 1; i >= 0 && i - 1 >= 0; i--) {
    if (nums[i] <= nums[i - 1]) {
      if (getMaxZhi(nums[i - 1] - num[i] + 1)) return false
    }
  }

  function getMaxZhi(num) {
    while (num != 2) {
      for (let i = 2; i < Math.floor(num / 2); i++) {
        
      }
    }
  }

  return true
}

primeSubOperation([4, 9, 6, 10])
